package com.lincolnXmypcqq.cmds.framework;

import lombok.Data;

/**
 * @author ziyao.peng01@ucarinc.com
 * @description 命令执行结果
 * @date 2018/11/29 10:08
 **/
@Data
public class RobotCmdExecuteResult{
    private RobotCmd robotCmd;
    /**
     * 0:未执行,1:执行成功,2:执行失败
     */
    private boolean result;
    /**
     * 异常类型
     */
    private Exception e;

    public boolean getResult() {
        return result;
    }
}
